using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class RankingListIcon : MonoBehaviour
{
    public Text numText,nameText,levelText; 
    public string nowRankingListName;
    public int nowRankingListNum,nowRankingListLevel;
    public int index;
    public void SetNum(int num){
        if(index==1){
            numText.text = num.ToString()+"st";
        } 
    }
    public void SetName(string name){
        nameText.text = name;
    }
    public void SetLevel(int level){
        levelText.text = level.ToString();
    }
}
